package com.donzell.web.controller.front;

import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
	
	@RequestMapping(value="/test", method = RequestMethod.GET)
	public String test(@RequestParam String aaa){
		System.out.println("妈的===>"+aaa);
		return "日日日eeeeeeeeee";
	}
	
	@RequestMapping("/")
	public Map<String, String> index(){
		System.out.println("1111111草");
		Map<String, String> res = new HashMap<String, String>();
		res.put("1", "日日日eeeeeeeeee");
		return res;
	}
}
